
/*Calculation of Simple interest for 3 sets of P, N, R */
/*Companey Name: Valtech India System Pvt. Ltd. */
/*Developer's Name: Md Ali Umar */
/*Dated: 20aug. 2011*/

#include<stdio.h>
#include<conio.h>
void main()
{
	int p, n, count;
	float r, si;

	clrscr();

	count = 1;

	while(count <= 3)
	{
		printf("\n\n\n\t\tEnter values of p, n and r: ");
		scanf("%d%d%f", &p, &n, &r);

		si = p * n * r / 100;

		printf("\n\n\n\t\tSimple Interest = %f", si);

		count = count + 1;

		getch();
	}
}